package com.ztesoft.sca.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.ztesoft.sca.dao.QcSceneDao;
import com.ztesoft.sca.model.QcSceneModel;

@Component
public class QcSceneServiceImpl implements QcSceneService {

	@Autowired
	private QcSceneDao qcSceneDao;
	
	@Override
	public List<QcSceneModel> listQcScene(long id, int from, int size) throws Exception {
		return qcSceneDao.selectListQcScene(id, from, size);
	}
	
	@Override
	public void insertQcScene(QcSceneModel aiChat) throws Exception {
		qcSceneDao.insertQcScene(aiChat);
	}

}
